<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        
        function show(){
            "use strict";
            function show1(){
                console.log(this);
            }
            let show2= ()=> {
                console.log(this);
            };
            show1();
            show2();
        }
        // window.show();

        var user={
            showA:function(){
                "use strict";
                console.log(this);
            },
            showB:()=>{
                console.log(this);
            }
        };
        // user.showA();
        // user.showB();
        // let f1=user.showA;
        // f1();

        function Student(name,age){
            "use strict";
            this.name=name;
            this.age=age;
            let fun1= () => {
                console.log(this);
            };
            let fun2=function(){
                console.log(this);
            };
            fun1();
            fun2();
        }

        var stu=new Student("alice",20);
      
    </script>
</head>
<body>
    
</body>
</html>